import javax.swing.JApplet;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JTabbedPane;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Color;
import javax.swing.UIManager;
import javax.swing.plaf.ColorUIResource;
import java.awt.SystemColor;


public class Okno extends JApplet {

	/**
	 * Create the applet.
	 */
	public Okno() throws Exception {
		getContentPane().setBackground(SystemColor.info);
		getContentPane().setLayout(null);

		UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

		//UIManager.put("TabbedPane.contentAreaColor", Color.darkGray);
		//UIManager.put("TabbedPane.light", ColorUIResource.darkGray);
		//UIManager.put("TabbedPane.highlight", ColorUIResource.darkGray);
		//UIManager.put("TabbedPane.shadow", ColorUIResource.darkGray);
		//UIManager.put("TabbedPane.darkShadow", ColorUIResource.darkGray);
		//UIManager.put("TabbedPane.selected", ColorUIResource.gray);
		//UIManager.put("TabbedPane.borderHightlightColor", ColorUIResource.darkGray);

		
		JPanel panel = new JPanel();
		panel.setBackground(SystemColor.info);
		panel.setBounds(0, 0, 120, 600);
		getContentPane().add(panel);
		
		JButton btnNewButton = new JButton("Kosciol 1");
		btnNewButton.setBackground(new Color(205, 133, 63));
		panel.add(btnNewButton);
		
		JButton btnNewButton_2 = new JButton("Kosciol 2");
		btnNewButton_2.setBackground(new Color(205, 133, 63));
		panel.add(btnNewButton_2);
		
		JButton btnKosciol = new JButton("Kosciol 3");
		btnKosciol.setBackground(new Color(205, 133, 63));
		btnKosciol.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		panel.add(btnKosciol);
		
		JButton btnNewButton_3 = new JButton("Kosciol 4");
		btnNewButton_3.setBackground(new Color(205, 133, 63));
		btnNewButton_3.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		panel.add(btnNewButton_3);
		
		JButton btnNewButton_1 = new JButton("Kosciol 5");
		btnNewButton_1.setBackground(new Color(205, 133, 63));
		panel.add(btnNewButton_1);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBackground(new Color(205, 133, 63));
		tabbedPane.setBounds(120, 0, 680, 600);
		getContentPane().add(tabbedPane);
		
		
		JPanel panel_1 = new JPanel();
		panel_1.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_1, null);
		
		JPanel panel_2 = new JPanel();
		panel_2.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_2, null);
		
		JPanel panel_3 = new JPanel();
		panel_3.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_3, null);
		
		JPanel panel_4 = new JPanel();
		panel_4.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_4, null);
		
		JPanel panel_5 = new JPanel();
		panel_5.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_5, null);
		
		JPanel panel_6 = new JPanel();
		panel_6.setBackground(new Color(205, 133, 63));
		tabbedPane.addTab("New tab", null, panel_6, null);

	}

}
